<?php
  error_reporting(0);
  session_start();
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es" dir="ltr">
  <head>
    <title>PowerLaptops</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="default.css" />
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/jquery.tools.min.js"></script>
  </head>
  <body>

<?php
include("top_1-06-2011.php");
include("left.php");
?>
  <div id="contentC">
    <div id="contenido" style="padding: 5px;">
     <? if($_GET["error"]==1){
         echo "<font color=\"red\"><b>Datos incorrectos</b></font>";
     }
     ?>
      <form name="iniciarSesion" action="getUser.php" method="POST" enctype="multipart/form-data">
        <center><table border=0>
          <tr><td>Correo</td><td><input type="text" name="login" size="20" value="" /></td></tr>
          <tr><td>Contrase&ntilde;a</td><td><input type="password" name="pass" size="20" value="" /></td></tr>
          </table></center>
        <center>
  <!--   <input type="button" value="registrar" name="registrar" onClick="javascript:comprueba();"></center> -->
          <input type="image"
                 src="images/top_low/botones/acceder.jpg" alt="acceder"
                 onClick="javascript:comprueba_reg_error();"/>
        </center>
      </form>
    </div>
  </div>
<script language="JavaScript" type="text/javascript">
  function comprueba_reg_error(){
    document.iniciarSesion.submit();
  }
</script>
<?php include("rightbottom.php"); ?>

  </body>
</html>